package cn.humaohua.study.hadoop.cmdrunner.c3;

import cn.humaohua.study.hadoop.cmdrunner.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.hadoop.fs.FsShell;
import org.springframework.stereotype.Component;

@Component
public class MkdirsByFsShell implements Test {
    @Autowired
    FsShell fsShell;
    @Override
    public void test() throws Exception {
        String uri = "hdfs://localhost/user/hmh/no/use/dir3";
        fsShell.mkdir(uri);

    }
}
